SmartPay\Modules\Frontend\Utilities\Downloader D

Total Complexity 404
Dependencies 3
Dependents 2
Total lines 1,517
Lines of code 1,208
Logical lines of code 1,117
Comment lines 171
Methods 13
Properties 1

Methods 13

Method Rating Maintainability Complexity Lines of code
getFileCtype()
D
0
292 880
processDownload()
D
25
53 122
_readfile_chunked()
B
37 20 71
deliverDownload()
S
48 7 30
_get_local_path_from_url()
S
57 6 15
isLocalFileLocationAllowed()
S
61 6 11
vaildateToken()
S
61 6 10
getDownloadUrl()
S
52 4 23
checkDownloadUrl()
S
56 3 17
generateToken()
S
58 2 14
isLocalFile()
S
67 2 7
_symlink_file_downloads()
S
74 2 4
__construct()
S
75 1 4